package com.meelive.ingkee.push.platform;

import android.content.Context;

import com.meelive.ingkee.push.InkePushConfig;
import com.meelive.ingkee.push.model.InkePushType;

/**
 * Create by: fanfeiyue
 * on: 2019-08-22
 * desc:
 */
public abstract class IPush {

    public void register(Context context, InkePushConfig config) {
        onRegister(context, config);
    }

    public void unregister(Context context, InkePushConfig config) {
        onUnregister(context, config);
    }

    public abstract InkePushType getPushType();

    public abstract void onRegister(Context context, InkePushConfig config);

    public abstract void onUnregister(Context context, InkePushConfig config);

}
